package Exampleclass;

public class Rectangle {
	int width;
	int height;
	public Rectangle(int a, int b){
		width=a;
		height=b;
	}
	public int area(){
		return width*height;
	}

	public static void main(String[] args) {
			Rectangle rect=new Rectangle(3,4);
			Rectangle rectb=new Rectangle(5,6);
			System.out.println("rect a: "+rect.area());
			System.out.println("rect b: "+rectb.area());

	}

}
